package com.chalk.mall.demo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author xiaoqiang
 * @Description
 * @date 2019/3/1 11:30
 */
@Data
@TableName("miaosha_goods")
public class MiaoshaGoods {
    @TableId
    private Long id;

    @TableField("goods_id")
    private Long goodsId;

    @TableField("stock_count")
    private Integer stockCount;

    @TableField("miaosha_price")
    private Double miaoshaPrice;

    @TableField("start_date")
    private Date startDate;

    @TableField("end_id")
    private Date endDate;
}
